<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 
        left 左侧
        right 右侧
        center 居中
        top 顶部
        botto 底部
        */
        
        div {
            width: 800px;
            height: 600px;
            background-color: red;
            background-image: url(./明日香.png);
            background-repeat: no-repeat;
            background-position: 30px center;
            /* background-position: 50px; 垂直默认居中 */
        }
    </style>
</head>
<body>
    <div>div 标签</div>
</body>
</html>